<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ext="http://opensource.extjsf.com/jsf" xml:lang="en" lang="en">
	<ui:composition template="/template/global.xhtml">
		<ui:define name="body">
			<h2>Form 2 - Adding fieldsets</h2>
			<div id='form2'/>	
			<ext:cmp labelWidth="75"
				title="Simple Form with FieldSets" renderTo="form2"
				width="350" bodyStyle="padding:5px 5px 0" layout="form" xtype="form">
				<ext:cmp xtype="fieldset" checkboxToggle="true" title="User Information" autoHeight="true"
					defaults__NS="{width: 210}" defaultType="textfield" collapsed="true">
					<ext:cmp fieldLabel="First Name" name="first" allowBlank="false"/>
				</ext:cmp>

			</ext:cmp>
			
		</ui:define>
	</ui:composition>

</html>
